package com.tan.websocket.handler;

import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.websocketx.WebSocketFrame;

/**
 * @author Tan
 * @description
 * @date 2025/1/26
 */
public interface MainFrameService {

    void handleMessage(ChannelHandlerContext ctx, WebSocketFrame frame);

    boolean isFrameType(WebSocketFrame frame);

    String serviceName();
}
